home *** CD-ROM | disk | FTP | other *** search
/ Agent Central Host Computer / Agent - Central Host Computer.iso / _SETUP.1 / global_id.sql < prev    next >
Text File  |  2000-05-12  |  966b  |  24 lines

  1. /* RCSVER $Id: global_id.sql,v 1.2 1999-02-24 12:52:51-06 randy CURRENT $ */
  2. /* *************************************************************************
  3. *        Copyright (C) 1998, Agent Systems, Inc. All Rights Reserved.
  4. *
  5. * Name:        global_id.sql
  6. * Date:        12/28/1998
  7. * memo:        Randy Wood
  8. * Description:    Create the global_id table. This table contains a list
  9. *        of all equipment in the system. Each piece of equipment
  10. *        has a unique ID which is used by the software as a
  11. *        cross-reference. This is not to be confused by the use of
  12. *        any user-defined IDs which are used only for display
  13. *        purposes.
  14. * Changes:
  15. ************************************************************************* */
  16. CREATE TABLE global_id
  17. (
  18.     glid    NUMBER(38),        /* Internal sq ID of this piece */
  19.     equip_type    NUMBER(38)    /* Type of equipment */
  20.         CONSTRAINT ref_equiptype REFERENCES equiptype(equip_type)
  21.         ON DELETE CASCADE,
  22.     CONSTRAINT pk_globalid PRIMARY KEY (glid)
  23. );
  24.